import json
from config import BASE_DIR
def read_json_file(filename):
    with open(filename, "r", encoding="utf8") as f:
        json_data = json.load(f)
        list = []
        for data in json_data:
            tmp = tuple(data.values())
            list.append(tmp)
        return list

if __name__ == '__main__':
    res = read_json_file(BASE_DIR + "/data/ihrm_login.json")
    print("读取结果：", res)
